/* tips开始 */
.tips {
  width: 100%;
  height: 45px;
  background-color: #333;
  line-height: 45px;
  text-align: center;
  color: #fff;
  > div {
    float: left;
    height: 45px;
  }
  div:nth-child(1) {
    width: 8%;
    img {
      // display: block;
      width: 10px;
      vertical-align: middle;
    }
  }
  div:nth-child(2) {
    width: 10%;
    img {
      width: 30px;
      vertical-align: middle;
    }
  }
  div:nth-child(3) {
    width: 57%;
  }
  div:nth-child(4) {
    width: 25%;
    background-color: red;
  }
}
/* tips结束 */
/* search-box开始 */
header.search-box {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 44px;
  background-color: #ca271b;
  line-height: 44px;
  > div {
    height: 44px;
  }
  .search-btn {
    position: absolute;
    width: 40px;
    left: 0;
    i {
      display: block;
      width: 20px;
      height: 20px;
      margin: 14px 0 0 15px;
      background: url('../images/s-btn.png') no-repeat;
      background-size: 20px auto;
    }
  }
  .search {
    position: relative;
    margin: 7px 50px;
    height: 30px;
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
    span {
      position: relative;
      float: left;
      width: 20px;
      height: 15px;
      margin: 8px 8px 0 15px;
      background: url('../images/logo2.png') no-repeat;
      background-size: 20px auto;
      &::after {
        position: absolute;
        right: -8px;
        content: "";
        width: 1px;
        height: 15px;
        background-color: #ccc;
      }
    }
    i {
      float: left;
      width: 18px;
      height: 15px;
      margin: 8px 0 0 15px;
      background: url('../images/jd-sprites.png') no-repeat -84px 0;
      background-size: 200px auto;
    }
    input {
      z-index: 0;
      position: absolute;
      left: 0;
      border: none;
      width: 100%;
      height: 30px;
      padding: 0 20px 0 78px;
      background-color: transparent;
      font-size: 12px;
    }
  }
  .login {
    position: absolute;
    width: 40px;
    right: 0;
    top: 0;
    color: #fff;
  }
}
/* search-box结束 */
/* main开始 */
main.content {
  overflow-x: hidden;
  width: 100%;
  .banner {
    position: relative;
    width: 100%;
    height: 143px;
    .banner-bg {
      height: 143px;
      position: absolute;
      top: 0;
      width: 150%;
      height: 101px;
      transform: translate(-16.6666666666%);
      background-image: linear-gradient(to bottom, #ca271b, #f1503b);
      border-radius: 0 0 50% 50%;
    }
    ul {
      z-index: 1;
      position: relative;
      margin: 0;
      padding: 0;
      list-style: none;
      li {
        position: absolute;
        padding: 0 3.33%;
        a {
          display: block;
          width: 100%;
          img {
            display: block;
            width: 100%;
            border-radius: 10px;
          }
        }
      }
    }
  }
  .recommend {
    // padding: 0 3.33%;
    position: relative;
    z-index: 5;
    overflow: hidden;
    a {
      float: left;
      width: 33.33%;
      // width: 100%;
      img {
        display: block;
        width: 100%;
      }
    }
  }
  /* 导航区 */
  nav.nav {
    width: 100%;
    overflow: hidden;
    text-align: center;
    a {
      float: left;
      display: block;
      width: 20%;
      text-decoration: none;
      img {
        display: block;
        width: 40px;
        height: 40px;
        margin: 10px auto 0;
      }
      span {
        display: block;
        font-size: 12px;
        height: 18px;
        line-height: 18px;
        color: #666;
        margin-top: 6px;
      }
    }
  }
  /* 新人专享 */
  .new {
    width: 100%;
    padding: 0 3.33%;
    margin-top: 6px;
    overflow: hidden;
    a {
      float: left;
      width: 50%;
      img {
        display: block;
        width: 100%;
      }
    }
  }
}
/* main结束 */